//
//  DeviceCellTableViewCell.m
//  sentorise
//
//  Created by admin on 2025/8/28.
//

#import "DeviceCellTableViewCell.h"

@interface DeviceCellTableViewCell()

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *numLabel;

@end

@implementation DeviceCellTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setIndex:(NSInteger)index {
    _index = index;
    self.titleLabel.text = [NSString stringWithFormat:@"%@%ld", NSLocalizedString(@"Cell", nil), index+1];
}

- (void)setNumV:(NSString *)numV {
    _numV = numV;
    self.numLabel.text = [NSString stringWithFormat:@"%@mv", numV];
}


@end
